<!-- 客服弹窗组件 -->
<template>
  <u-popup v-model="show" mode="center">
			<view class="kefuPanel">
				<u-image width="100%" height="100%" src="/static/me/kfwx.jpg"></u-image>
			</view>
	</u-popup>
</template>

<script>
export default {
  name:'kefu-popup',
  data () {
    return {

    };
  },
  props: {
    showKefu: {
      type: Boolean,
      default: false
    }
  },

  components: {},

  computed: {
    show:{
      get(){
        return this.showKefu
      },
      set(v){
        console.log('set', v)
        this.showKefu = v
        this.$emit('closePopup', v);
      }
    }
  },

  mounted() {},

  methods: {}
}

</script>
<style lang='scss' scoped>
.kefuPanel {
    width: 350rpx;
    height: 350rpx;
    border-radius: 10rpx;
    background-color: skyblue;
  }
</style>